<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="container">
    <a v-bind:[baiduAttr]="baiduHref">link</a>
</div>

<script src="https://unpkg.com/vue@next"></script>
<script type="text/javascript">

    const demoApp = {
        data(){
            return {
                baiduattr:'href',
                baiduHref: 'http://www.baidu.com'
            }
        },
        mounted(){

        },
        methods:{

        }

    }

    Vue.createApp(demoApp).mount('#container')
</script>

</body>
</html>
